package com.lxt.cloud.feign.fallback;

import com.lxt.cloud.feign.TestHystrixFeigh;
import org.springframework.stereotype.Component;

@Component
public class TestHystrixFeighFallBack implements TestHystrixFeigh {

    @Override
    public String paymentInfo_OK(Long id) {
        return "-------TestHystrixFeigh fall back paymentInfo_ok!-------";
    }

    @Override
    public String paymentInfo_TimeOut(Long id) {
        return "-------TestHystrixFeigh fall back paymentInfo_TimeOut!-------";
    }
}
